package com.dhu.demo.mapper;

import com.dhu.demo.entity.Classtable;
import com.dhu.demo.entity.Level;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface Classtablemapper {

    List<Classtable> findAll();

    List<String> findAllClassTableTeacher();

    int deleteByPrimaryKey(String classname);

    int insert(Classtable record);

    int insertSelective(Classtable record);

    Classtable selectByPrimaryKey(Integer classid);

    int updateByPrimaryKeySelective(Classtable record);

    int updateByPrimaryKey(Classtable record);

    List<Level> selectLevelByClassname(String classname);
}